package com.czj.controller;


import com.czj.model.StoresServe;
import com.czj.service.StoresServeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class StoresServeController {
    @Autowired
    private StoresServeService storesServeService;

    @RequestMapping("/StoresServe")
    public List<StoresServe> chaserve(){
        return storesServeService.chaserve();
    }
}
